package com.isoft.airportsystem.service.flight;

import com.isoft.airportsystem.entity.flight.Aircraft;
import com.isoft.airportsystem.util.PageResult;

import java.util.List;

public interface AircraftService {
    // 获取所有机型
    List<Aircraft> getAllAircrafts();

    // 根据代码获取机型
    Aircraft getByCode(String aircraftCode);

    // 条件查询机型
    List<Aircraft> queryAircrafts(Aircraft aircraft);

    // 分页查询机型
    PageResult<Aircraft> queryAircraftPage(int pageNum, int pageSize, Aircraft aircraft);
}
